package com.epfly.iface.promo.activity.enums;


/**
 * 执行状态:0.待执行;1.执行中;2.执行成功;3.执行失败
 */
public enum ActivityExecResultEnum {
    WAIT((byte) 0, "待执行"), RUNNING((byte) 1, "执行中"), SUCCESS((byte) 2, "执行成功"), FAILURE((byte) 3, "执行失败");

    private Byte key;

    private String value;

    private ActivityExecResultEnum() {

    }


    private ActivityExecResultEnum(Byte key, String value) {
        this.key = key;
        this.value = value;
    }

    public Byte getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
